The file “CODE editor for ResEdit 2.1” contains a ResEdit 2.1 (or later) RSSC resource that adds a disassembly viewer to ResEdit to handle CODE and code-like resources. This allows you to view code resources as assembly code instead of “raw” hex. When added to ResEdit version 2.1.1 or later, the CODE editor can also operate concurrently with the basic HEXA editor, providing editing and searching capabilities as well. The disassembly code is annotated with the module names extracted from the MacsBug strings in the code. Navigation facilities are provided to allow viewing related pieces of code. Special formatting may be applied to the disassembly for embedded data that cannot normally be distinguished from actual code. There are also facilities to allow you to answer the question “who references this location?”.
Things changed since initial release:
1. A number of bugs fixed.
2. New “Goodies” menu which replaces the Marker menu that contains three
submenus, one of which is the replaced Marker menu. See items (3) and (4)
for the new features in the Goodies submenus.
3. A Traps submenu to allow searching for all traps or particular traps with
the same trap number. New trap “buttons” become active when the mouse
is placed over them.
4. A “search for references” submenu to allow you to answer the question:
“Who references this location?". You can now click on an offset or address
and the submenu will show the reference locations. The references can be
limited to local references within the current segment being displayed, or
ALL the references in the program. A persistent arrow can be displayed
showing a current reference from the submenu. The arrow is removed by
clicking in the window. This is the biggest enhancement of this release!
5. New inter-segment (Jump Table) “buttons” to load in referenced code
segments. Thus addresses of the form “CODE,n+$xxxx” become clickable
buttons.
6. The Print commend in the File menu is now supported for priting both
selections and the entire resource. Printing selections is similar to the
copy to clipboard operation (see next item).
7. You can copy the text lines into the clipboard by selecting the hex. The
lines associated with the selection are copied as type TEXT. You can then
copy them into something else to manipulate them (?). This is NOT a new
feature, but since everyone keeps asking for someway to get at the
displayed stuff I thought I put it here just in case you don't read the doc.
Please read “CODE Editor Doc” (MS Word 4 or MacWrite II) for full details. Also, the simplest way to install the CODE editor is to copy all its resources into the ResEdit Preferences file in the System Folder. You should start with a “clean” copy of ResEdit 2.1.1. See documentation for complete details.